﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleNetServer
{
	class PacketHandler
	{
		public UInt32 PacketId { get; private set; }
		public int Length { get; private set; }
		public OnPacketReceive OnReceive { get; private set; }

		public PacketHandler(UInt32 packetId, int length, OnPacketReceive onReceive)
		{
			this.PacketId = packetId;
			this.Length = length;
			this.OnReceive = onReceive;
		} //

	} // class
}
